HW 02: Monads
“Monadify” the regular-expression compiler.
Goals
The main goals of this assignment are:
- Zoom out and consider the design + architecture of a compiler.
- Become (more) familiar with monads.
To do so, we will port our code from the previous assignment into a monadic design, then implement the different phases of the compiler.